package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.core.UniAppMenuDao;
import com.tbit.uqbike.client.pojo.newEntity.UniAppMenu;
import com.tbit.uqbike.client.service.UniAppMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: chen
 * @Description:
 * @Date: 创建于 15:32 2022/9/21
 */
@Service
public class UniAppMenuServiceImpl implements UniAppMenuService {

    @Autowired
    private UniAppMenuDao uniAppMenuDao;

    @Override
    public List<UniAppMenu> getByAccountId(Integer accountId,String version) {
        return uniAppMenuDao.getByAccountId(accountId,version);
    }

    @Override
    public List<UniAppMenu> getByName(Integer accountId, String name, Integer type) {
        return uniAppMenuDao.getByName(accountId, name, type);
    }
}
